#!/bin/sh

make -Iconfig-gcc all
if [ "$1" == "bochs" ]; then
	bochs
else
	urxvt -e qemu -s boot.img -serial file:ekos.out -net nic,model=i82559er -debug-e100 -daemonize
	if [ -z $1 ]; then
		exec gdb
	else exec $1; fi
fi

